<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>CSS Test: image-orientation Should Follow Page Orientation</title>
  <link rel="author" title="Tom Clancy" href="mailto:tclancy@revenution.com"/>
  <link rel="help" href="http://www.w3.org/TR/css3-page/#orienting"/>
  <meta name="assert" content="The '0deg' value of 'image-orientation' sets the image to the orientation of the page."/>
  <style type="text/css"><![CDATA[
  	@page sideways {size: landscape;}
  	img { image-orientation: 0deg; }
	div#second {page: sideways;}
  ]]></style>
 </head>
 <body>
 	<div>
		<p>This page should be printed in portrait layout (the short sides of the page are top and bottom). The arrow below should be pointing at this sentence.</p>
		<img src="intrinsic-size.png" alt="FAIL: missing image" />
	</div>
 	<div id="second">
		<p>This page should be printed in landscape layout (the long sides of the page are top and bottom). The arrow below should be pointing at this sentence.</p>
		<img src="intrinsic-size.png" alt="FAIL: missing image" />
	</div>
 </body>
</html>